package com.sxf.consts;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class YtConsts {

	public static final String[] SUFFIX_ARRAY = { "jpg", "bmp", "jpeg", "png", "gif" };
	public static final List<String> ALLOW_FILE = new ArrayList<>() {
		public static final long serialVersionUID = 8852571264267330053L;
		{
			addAll(Arrays.asList(SUFFIX_ARRAY));
		}
	};

	public static final String UPLOAD_URL = "/tms/upload";
	public static final String GET_FILE_URL = "/tms/get_file_info";
	public static final String DELETE_FILE_URL = "/tms/delete";
	public static final String GO_FAST_GROUP = "tms";

	public static final String PRIMARY_KEY_PREFIX = "pk";

	/**
	 * REDIS 用户信息缓存 TOKEN key 值
	 */
	public static final String USER_TOKEN_KEY = "USER_TOKEN_KEY";

	public static final String GENERATE_CODE_PREFIX = "gernate_code_prefix:";

	public static final String REQUEST_HEADER_TOKEN_KEY = "authorization";

	public static final String REQUEST_HEADER_CLIENT = "client";

	public static final String STR_ZERO = "0";

	public static final String STR_ONE = "1";

	public static final String STR_TWO = "2";

	public static final String THOUSANDS_FORMAT = ",###.##";

	public static final String Y = "Y";

	public static final String N = "N";

	public static final String LONG_DATE = "2999-12-31";
	
	public static final String HUFU_TOKEN_KEY = "hufu:token:key";

	public static final String START_PUNISH_DURATION = "START_PUNISH_DURATION";

	public static final String STOP_SIGN = "、";

}
